public class Student {
   import java.util.Scanner;

    public class StudentGradeAnalyzer {
        public static void main(String[] args) {
            Scanner scanner = new Scanner(System.in);

            byte num = scanner.nextByte();
            byte[] grades = new byte[num];

            for (int i = 0; i < num; i++) {
                grades[i] = scanner.nextByte();
            }

            byte max = grades[0];
            int sum = 0;

            for (byte grade : grades) {
                if (grade > max) {
                    max = grade;
                }
                sum += grade;
            }


            int conversionCount = 1;

            double average = (double) sum / num;

            System.out.printf("最高分: %d\n", max);
            System.out.printf("平均分: %.2f\n", average);
            System.out.printf("数据类型转换次数: %d\n", conversionCount);
            scanner.close();
        }
    }
}
